63 | Building a Discord Bot with TypeScript, Node.js, Prisma, PlanetScale, and Heroku
In this episode, James explains how he built a custom Discord Bot for the Learn Build Teach Community that allows users to give out kudos for learning, building, or teaching.
In this episode, James explains how he built a custom Discord Bot for the Learn Build Teach Community that allows users to give out kudos for learning, building, or teaching.
Sponsors
Vercel
Vercel combines the best developer experience with an obsessive focus on end-user performance. Their platform enables frontend teams to do their best work. It is the best place to deploy any frontend app. Start by deploying with zero configuration to their global edge network. Scale dynamically to millions of pages without breaking a sweat.
For more information, visit Vercel.com
ZEAL is hiring!
ZEAL is a computer software agency that delivers “the world’s most zealous” and custom solutions. The company plans and develops web and mobile applications that consistently help clients draw in customers, foster engagement, scale technologies, and ensure delivery.
ZEAL believes that a business is “only as strong as” its team and cares about culture, values, a transparent process, leveling up, giving back, and providing excellent equipment. The company has staffers distributed throughout the United States, and as it continues to grow, ZEAL looks for collaborative, object-oriented, and organized individuals to apply for open roles.
For more information visit softwareresidency.com/careers
DatoCMS
DatoCMS is a complete and performant headless CMS built to offer the best developer experience and user-friendliness in the market. It features a rich, CDN-powered GraphQL API (with realtime updates!), a super-flexible way to handle dynamic layouts and structured content, and best-in-class image/video support, with progressive/LQIP image loading out-of-the-box."
For more information, visit datocms.com
Show Notes
- 0:00 Introduction
- 3:24 Hot Rant and Quick Takes
- 5:42 Slack vs. Discord
- 9:45 Original Discord Bot
- 15:59 Migrating to a New Tech Stack
- 18:40 Sponsor: ZEAL
- 19:32 Pain Points of the Old Tech Stack
- 22:41 Sponsor: DatoCMS
- 23:34 Benefits of Prisma
- 24:56 Benefits of TypeScript
- 27:17 Backend Frameworks
- 29:38 Husky
- 31:54 ts-node-dev
- 33:47 Working with PlanetScale
- 36:45 Sponsor: Vercel
- 37:53 Slash Commands
- 41:38 New Functionality in Discord
- 45:15 Making the Data Available through an Express API
- 47:14 What's the cost?
- 48:55 Grab Bag Questions
- 49:28 Picks and Plugs
- 49:36 James's Pick: Blanket from Costco
- 50:57 James's Plug: How I Built A Discord Bot with TypeScript, Node.js, PlanetScale, Prisma, and Heroku on YouTube
- 51:56 Amy's Pick: Ship 30 for 30
- 52:56 Amy's Plug: Compressed.fm on Twitch